<%-- 
    Document   : administrador
    Created on : Jul 20, 2013, 1:48:35 PM
    Author     : educacionit
--%>

<%
    
    if(session.getAttribute("adm") != null)
    {
        if(!Boolean.parseBoolean(session.getAttribute("adm").toString()))
        {
            //out.println("<h1>USTED NO TIENE PERMISOS</h1>");
            response.sendRedirect("fuera.jsp");
        }
     }
    else{
        response.sendRedirect("fuera.jsp");
    }
    
%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Bienvenido administrador</h1>
    </body>
</html>
